package com.dzy.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.dzy.domain.Custum;

/**
 * @Description
 * 演示mybatis接口注解方式操作数据库，类似于jpa
 * @author Dzy(yndxc@163.com)
 * created by 2016年11月24日下午5:01:57
 */
@Mapper
@Deprecated
public interface CustumMapper{
	@Select("select custumcode,custumname,idtype,idcode from CIF_PERSONALINFO where custumcode=#{code}")
	Custum findByCustumCode(@Param("code")String code);
}
